﻿@model Stardust.Models.ServiciosBean

@{
    ViewBag.Title = "Index";
}

<h2>Lista de Servicios</h2>

<p>
    Lista general de los servicios del hotel
</p>

<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validationEngine-en.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validationEngine.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/custom.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.mousewheel.js")" type="text/javascript"></script>

@using (Html.BeginForm("ModificarServicio", "Servicios", FormMethod.Post, new { @class = "form", id = "validate" }))
{
   
<form action = "" class = "form" >

   <fieldset>

        <legend>Servicio</legend>
        @Html.HiddenFor(model => model.id)
    
            <div class="formRow">@Html.LabelFor(model => model.nombre)<span class="req">*</span>
                <div class="formRight"> @Html.TextBoxFor(model => model.nombre) 
                 @Html.ValidationMessageFor(model => model.nombre)</div>
                <div class="clear"></div>
            </div>

            <div class="formRow">@Html.LabelFor(model => model.descripcion)<span class="req">*</span>
                <div class="formRight"> @Html.TextBoxFor(model => model.descripcion) 
                 @Html.ValidationMessageFor(model => model.descripcion)</div>
                <div class="clear"></div>
            </div>

            <div class="formRow">@Html.LabelFor(model => model.estado)
                <div class="formRight"> 
                                     @Html.RadioButtonFor(model => model.estado, "ACTIVO", true) ACTIVO <br />
                                     @Html.RadioButtonFor(model => model.estado, "INACTIVO", false) INACTIVO    
                                                                                                            
                </div> 
                <div class="clear"></div>
            </div>
        
    
    <div class="formRow">@Html.LabelFor(model => model.estado2)
                <div class="formRight"> 
                
                                     @Html.RadioButtonFor(model => model.estado2, "Evento", true) Evento <br />
                                     @Html.RadioButtonFor(model => model.estado2, "Habitación", false) Habitación  <br />
                                     @Html.RadioButtonFor(model => model.estado2, "Otros", false) Otros
                                                                                                            
                </div> 
                <div class="clear"></div>
            </div>
    
        <p>
            <input type="submit" value="Guardar" class = "redB" />
        </p>

    </fieldset>

</form>
}
